-- GENERATED SPELL FOR [Saronite Shaper] --


function spell0_31322(pUnit, Event) --@War Stomp,Self--
pUnit:FullCastSpellOnTarget(60960,pUnit)
pUnit:RegisterEvent('Sorts_31322', 5280, 1)
end

function Sorts_31322(pUnit, Event)
local choix_sorts_31322 = math.random(0, 0)
if choix_sorts_31322 == 0 then
pUnit:RegisterEvent('spell0_31322', 1, 1)
end
end

function mob31322_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_31322', math.random(1500, 3000), 1)
end

function mob31322_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31322_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob31322_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(31322, 1, 'mob31322_Action')
RegisterUnitEvent(31322, 2, 'mob31322_Leave')
RegisterUnitEvent(31322, 3, 'mob31322_Kill')
RegisterUnitEvent(31322, 4, 'mob31322_Die')
